<!DOCTYPE html>
<html lang="en">

    <head>

        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="description" content="">
        <meta name="author" content="">

        <title>Projekt Starosta</title>

        <!-- Bootstrap Core CSS -->
        <link href="css/bootstrap.min.css" rel="stylesheet">

        <!-- Custom CSS -->
        <link href="css/style.css" rel="stylesheet">


    </head>

    <body>
        <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
            <div class="collapse navbar-collapse">
                <a class="navbar-brand" href="index.php"><span style="color: #82B900;"><b>wirtualny</b></span>starosta</a>
                <?php
                    if($user->is_logged()){
                        $hello = $user->get_user();
                ?>
                <span class="hello-msg pull-right"><i class="glyphicon glyphicon-user"></i><b>Witaj!</b> Jesteś zalogowany jako <b><?php echo $hello[0]['firstName'].' '.$hello[0]['lastName'].'.'; ?></b></span>
                <?php
                    }
                ?>
            </div><!--/.nav-collapse -->
        </nav>